<?php

namespace app\index\validate;

use think\Validate;

class Order extends Validate
{
    protected $rule = [
        'title|主体名称' => 'require|length:1,50',
        'name|法人姓名' => 'require|length:1,20',
        'idcard|身份证号码' => 'require|idCard',
        'mobile|手机号码' => 'require|mobile',
        'type|办理项目' => 'require|in:1,2,3,4'
    ];

}

